#include "StdAfx.h"


CTile::CTile(void)
{
	//this->_hBitmap = hBitmap;
}

CTile::~CTile(void)
{
	if(_hBitmap)
	{
		DeleteObject(_hBitmap);
	}

}

void CTile::SetLocation(int x, int y)
{
	this->_ptLocation.x = x;
	this->_ptLocation.y = y;
}

POINT CTile::GetLocation()
{
	return _ptLocation;
}

HBITMAP CTile::GetHBitmap()
{
	return _hBitmap;
}

void CTile::SetHBitmap(HBITMAP hBitmap)
{
	this->_hBitmap = hBitmap;
}